/*
 * This application was developed using and referring to the sample code provided by Sun Microsystems
 * Hence I am including this mandatory copyright notice in order to comply with the rules

 * Copyright (c) 2007 Sun Microsystems, Inc.
 * Copyright (c) 2010 Oracle
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to
 * deal in the Software without restriction, including without limitation the
 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 * sell copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 */

package ritcs.sensors.util;

/**
 * Interface used by a class wanting to be called back when
 * the requested service has been found.
 *
 * @author Ron Goldman<br>
 * Date: July 31, 2007
 *
 * @see LocateService
 */
public interface LocateServiceListener {
    
    /**
     * Application specific callback routine for when the service is located.
     *
     * @param serverAddress IEEE address of service
     */
    void serviceLocated(long serverAddress);
}
